package com.hl.sfzy.service.wxwappService;

import com.github.pagehelper.PageHelper;
import com.hl.sfzy.entity.wxwapp.CourseTeacher;
import com.hl.sfzy.mapper.wxwappMapper.CourseTeacherMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: CourseTeacherService
 * @author: WXW
 * @date: 2024/9/5 15:18
 * @Version: 1.0
 * @description:
 */
@Service
public class CourseTeacherService {
    @Autowired
    private CourseTeacherMapper courseTeacherMapper;


    public List<CourseTeacher> findAllTeacher(Integer pageNum, Integer pageSize){
        PageHelper.startPage(pageNum,pageSize);
        return courseTeacherMapper.selectTeacherAll();
    }
}
